<?

require("config.php");
//if (!Authent($username)) header("location:index.php");



$table = "course_trainer_sharing";

$field = array(

	"id",
	"code",
	"trainer",
	"date",
	"name",
"details",
"picture1",
"picture2",
"picture3",
"picture4",
"status",
"publish_date",

);

$exp = "And id = $id Limit 1";

$r = limitQuery($table,$field,$exp);


	$id=$r[0][0];
	$code=$r[0][1];
	$trainer=$r[0][2];
	$date=$r[0][3];
	$name=$r[0][4];
$details=$r[0][5];
$picture1=$r[0][6];
$picture2=$r[0][7];
$picture3=$r[0][8];
$picture4=$r[0][9];
$status=$r[0][10];
$publish_date=$r[0][11];


require($rela_path . "header.php");
?>


<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <!--<td width="17"><img src="<?=$rela_path?>images/shim.gif" width="17" height="1"></td>-->
    <td width="186" valign="top"> 
      <?require("../nav.php")?>
    </td>
    <td width="11"><img src="<?=$rela_path?>images/shim.gif" width="11" height="1"></td>
    <td valign="top"> 
      <?require("../menu.php")?>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td align="right"><table width="100%" border="0">
              <tr> 
                <td height="50" class="header">&gt;&gt; Trainers' Sharing</td>
              </tr>
            </table></td>
        </tr>
      </table>

	  <table width="95%" border="0" align="center" cellpadding="1" cellspacing="0">
        <tr> 
          <td height="30" valign="top"><a href="trainer_sharing.php">Hear what our trainers shared. </a>
            </td>
        </tr>
      </table>
      <br>
      <table width="95%" border="0" align="center" cellpadding="1" cellspacing="0">
        <tr>
          <td><b>
            <?=$name?>
            </b><br>
            by 
            <?=$trainer?>
            | 
            <?=outdate($date)?>
          </td>
        </tr>
        <tr>
          <td>
      <table border="0" cellpadding="5" cellspacing="5">
        <tr> 
          <td valign="top"> 
            <?loadImage2($picture1,$rela_path . $PIC_DIR. $table . "/")?>
            <br> 
            <?loadImage2($picture2,$rela_path . $PIC_DIR. $table . "/")?>
            <br> 
            <?loadImage2($picture3,$rela_path . $PIC_DIR. $table . "/")?>
            <br> 
            <?loadImage2($picture4,$rela_path . $PIC_DIR. $table . "/")?>
          </td>
          <td valign="top"> 
            <?=$details?>
          </td>
        </tr>
      </table>

          </td>
        </tr>
      </table>
      <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
        <tr> 
          <td height="30" valign="top" align="right">&nbsp;</td>
        </tr>
        <tr> 
          <td> <div align="right"><a href="../print.php?id=<?=$id?>&p=trainer_sharing_detail" target="_blank"><u>print this 
              article</u></a> | <a href="javascript:Redirect('../email.php?id=<?=$id?>&p=<?=urlEncode("learning_zone/trainer_sharing_detail")?>',3)"><u>e-mail to 
              friend</u></a></div></td>
        </tr>
      </table>
      <br> </td>
    <td width="11"><img src="<?=$rela_path?>images/shim.gif" width="11" height="1"></td>
    <td width="173" valign="top">
	
	
<?require("../list.php")?>	 
	  
	  
    </td>
    <!--<td width="17"><img src="<?=$rela_path?>images/shim.gif" width="17" height="1"></td>-->
  </tr>
</table>





<?require("../footer.php")?>	